package com.zhitan.ems.alarm.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhitan.ems.alarm.entity.AlarmRecordsEntity;
import com.zhitan.ems.alarm.vo.AlarmRecordsVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zhitan.ems.framework.core.mp.base.BaseService;
import com.zhitan.ems.framework.core.vo.VPage;
import java.util.Map;
import java.util.Date;
import java.util.List;

/**
 * 
 * @author zhitan
 * 
 * @date 2025-09-26 21:25:31
 */
public interface AlarmRecordsService extends BaseService<AlarmRecordsEntity> {
    /**
     * 获取报警统计信息（日统计）
     * @return 统计信息Map
     */
    Map<String, Object> getAlarmStatistics();
    
    /**
     * 获取月度报警统计信息
     * @return 统计信息Map
     */
    Map<String, Object> getMonthlyAlarmStatistics();
    
    /**
     * 获取年度报警统计信息
     * @return 统计信息Map
     */
    Map<String, Object> getYearlyAlarmStatistics();
    
    /**
     * 获取报警等级占比统计信息
     * @return 统计信息Map
     */
    Map<String, Object> getAlarmLevelStatistics(Date startDate,Date endDate);
    
    /**
     * 获取报警处理状态占比统计信息
     * @return 统计信息Map
     */
    Map<String, Object> getAlarmStatusStatistics(Date startDate,Date endDate);

	Map<String, Object> getAlarmGroupStatistics(Date startDate, Date endDate, Integer timeType);
}